package com.qitmiaojie.pojo.dto;


import com.qitmiaojie.pojo.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserTable extends User {
    protected List<String> UserRole;

    @Override
    public String toString() {
        return "UserTable{" +
                "id=" + getId() +
                ", UserName='" + getUserName() + '\'' +
                ", Password='" + getPassword() + '\'' +
                ", Avatar='" + getAvatar() + '\'' +
                ", Email='" + getEmail() + '\'' +
                ", City='" + getCity() + '\'' +
                ", Created=" + getCreated() +
                ", Updated=" + getUpdated() +
                ", LastLogin=" + getLastLogin() +
                ", Statu=" + getStatu() +
                ", UserRole=" + UserRole +
                '}';
    }

}
